var util = require('../../utils/util.js');
var ajax = require('../../utils/ajax.js');
var common = require('../../utils/common.js');
var MPage = require('../MPage.js');
var app = getApp();

Page(common.extendPage(MPage, {
    data: {
        agent: {}
    },

    onLoad: function(options) {
        var info;

        try {
            info = JSON.parse(options.info);
        } catch (e) {}

        if (info) {
            this.setData({
                agent: info
            });
        }
    }

}));